<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="../static/css/iview.css">
    <script type="text/javascript" src="../static/js/vue.mini.js"></script>
    <script type="text/javascript" src="../static/js/iview.mini.js"></script>
    <script type="text/javascript" src="../static/js/jquery.mini.js"></script>
    <!--异步请求两个必须的文件-->
    <script type="text/javascript" src="../static/js/axios.mini.js"></script>
    <script type="text/javascript" src="../static/js/qs.mini.js"></script>
    <script type="text/javascript" src="../static/js/node_modules/bluebird/js/browser/bluebird.js"></script>
    <script type="text/javascript" src="../static/js/node_modules/babel-polyfill/dist/polyfill.js"></script>
</head>
<style>
    .div-inline-block{
        margin-top: 18px;
        margin-left: 10%;
    }
    .div-inline1 {
        display: inline-block;
        height: 140px;
        width: 260px;
        margin-left: 20px;
        background-color: #00A3CE;
    }
    .div-inline2 {
        display: inline-block;
        height: 140px;
        width: 260px;
        margin-left: 20px;
        background-color: #d5b79f;
    }
    .content{
        padding-top: 20px;
        padding-left: 30%;
        font-size: 20px;
        font-weight: bolder;
    }
    .content-h1{
        padding-left: 20px;
    }
    .div-inline1:hover,.div-inline2:hover{
        box-shadow: 2px 4px 6px #a5a09e;
    }
</style>
<body>
<div id="app">
    <div style="margin-left: 20px;margin-top: 20px">
        <!--<i-button @click="add">添加</i-button>-->
        <!--<i-button @click="update">修改</i-button>-->
        <!--<i-button @click="del">删除</i-button>-->
        <i-input v-model="serach" style="width: 200px;" placeholder="输入年级"></i-input>
        <Date-Picker type="daterange" :options="options2" placement="bottom-end" v-model="StartEndTime"
                     placeholder="选择时间" style="width: 200px" @on-change='catch_time(StartEndTime)'></Date-Picker>
        <i-button @click="search">搜索</i-button>
    </div>

    <div class="div-inline-block" >
        <div class="div-inline1">
           <div class="content">正常考勤
           <h1 class="content-h1">{{normalNum}}</h1>
           </div>
        </div>
        <div class="div-inline2">
            <div class="content">非正常考勤
                <h1 class="content-h1">{{unnormalNum}}</h1>
            </div>
        </div>
    </div>
    <div style="margin-left: 20px;margin-top: 20px">
        <h1>正常签到同学</h1>
        <i-Table border :columns="columns4" :data="normalList"></i-Table>
    </div>
    <div style="margin-left: 20px;margin-top: 20px">
        <h1>非正常签到同学</h1>
        <i-Table border :columns="columns4" :data="unnormallist"></i-Table>

    </div>
</div>
<script type="text/javascript" src="../static/js/total.js"></script>
</body>
</html>
